import 'package:flutter/material.dart';
import "package:get/get.dart";

class AllCollection extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
            centerTitle: true,
            backgroundColor: Color(0xffffffff),
            leadingWidth: 40,
            leading: IconButton(
              onPressed: () {
                Get.back();
                print('object');
              },
              icon: Image.asset('static/images/back.png'),
            ),
            title: Text('编辑百科')),
        body: Padding(
          padding: EdgeInsets.symmetric(horizontal: 15),
          child: ListView(
            children: [
              Row(
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  ClipRRect(
                    borderRadius: BorderRadius.circular(5),
                    child: Image.asset(
                      'static/aaa.png',
                      width: 60,
                      height: 80,
                      fit: BoxFit.cover,
                    ),
                  ),
                  SizedBox(
                    width: 10,
                  ),
                  Expanded(
                      child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    children: [
                      Text('第 1 集 | 策划人要拥有的14张推广排期表！高质量！第 1 集 | ',
                          softWrap: true),
                      SizedBox(
                        height: 10,
                      ),
                      Text(
                        '12:22',
                        style: TextStyle(fontSize: 12),
                      )
                    ],
                  )),
                ],
              ),
            SizedBox(height: 15,),
              Row(
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  ClipRRect(
                    borderRadius: BorderRadius.circular(5),
                    child: Image.asset(
                      'static/aaa.png',
                      width: 60,
                      height: 80,
                      fit: BoxFit.cover,
                    ),
                  ),
                  SizedBox(
                    width: 10,
                  ),
                  Expanded(
                      child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    children: [
                      Text('第 1 集 | 策划人要拥有的14张推广排期表！高质量！第 1 集 | ',
                          softWrap: true),
                      SizedBox(
                        height: 10,
                      ),
                      Text(
                        '12:22',
                        style: TextStyle(fontSize: 12),
                      )
                    ],
                  )),
                ],
              ),
            ],
          ),
        ));
  }
}
